  {if $menu == "admin"}
  <div class="menu-group"> 
    <ul>
      <!--li {if $current == ''} class="current" {/if}><a href="/?a=index&m=home&c=admin">官方活动</a></li--> 
      <li {if $current == 'admin'} class="current" {/if}><a href="/?a=index&m=home&c=admin">店铺审核</a></li> 
      <li {if $current == 'msglist'} class="current" {/if}><a href="/?a=msglist&m=home&c=admin">消息列表</a></li> 
      <li {if $current == 'events'} class="current" {/if}><a href="/?m=home&c=event">活动审核</a></li> 
      <li {if $current == 'recommend'} class="current" {/if}><a href="/?m=home&c=event&a=recommend">推荐管理</a></li> 
      <li {if $current == 'contents'} class="current" {/if}><a href="/?a=list&m=home&c=content&ctp=items">商品审核</a></li> 
      <!--li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_create.php">抽奖情况</a></li--> 
      <li {if $current == 'toolcfg'} class="current" {/if}><a href="/?a=tool_cfg&m=home&c=admin">工具设置</a></li> 
      <li {if $current == 'page'} class="current" {/if}><a href="/?a=index&m=home&c=page">页面管理</a></li> 
      <!--li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_apply.php">社交统计</a></li> 
      <li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_search.php">投诉反馈</a></li> 
      <li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_search.php">客户关怀</a></li--> 
      {if $current == 'admin' && $mixednick == 'k01UulQpdrfWP/FlNTAiJ3nWf8p4y2Nzgo7UGObn3+dFq0='} <li><a href="/?a=safecode&m=shop&c=manual">安全码</a></li> {/if}
    </ul>
  </div>
  <hr />
  {/if}
  <!-- 店铺菜单 -->
   {if $menu == "shop"}
    <div class="menu-group">
    <ul>
      <li {if $current == 'contents'} class="current" {/if}><a href="/?m=shop&c=content">实惠推荐</a></li> 
      <li {if $current == 'events'} class="current" {/if}><a href="/?m=shop&c=event">活动管理</a></li>  
      <li {if $current == 'gifts'} class="current" {/if}><a href="/?m=shop&c=gift">奖品管理</a></li> 
      <li {if $current == 'sendgifts'} class="current" {/if}>
		<a href="/?m=shop&c=gift&a=sendgifts">
		<i class="icon {if $current == 'sendgifts'}icon-white{else}icon-red{/if} icon-gift"></i>发奖</a>
	  </li> 
      <li {if $current == 'tools'} class="current" {/if}><a href="/?a=tools&m=shop&c=tools">活动工具</a></li> 
      <li {if $current == 'shopsign'} class="current" {/if}><a href="/?m=shop">店铺登记</a></li>
      <!--li {if $current == 'seeds'} class="current" {/if}><a href="/?a=seeds&m=shop&c=seeds">种子农场</a></li--> 
      <!-- <li {if $current == 'contents'} class="current" {/if}><a href="/?a=add&m=shop&c=content">内容发布</a></li>  -->
      <!--li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_apply.php">商品报名</a></li> 
      <li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_search.php">投诉反馈</a></li> 
      <li {if $current == ''} class="current" {/if}><a href="/admin/view/goods_search.php">客户关怀</a></li--> 
    </ul>
  </div>
  <hr />
  {/if}
  {if $menu == "buyer"}
  <!-- 买家菜单 -->
    <div class="menu-group">
    <ul>
      <li {if $current == 'events'} class="current" {/if}><a href="/?a=events&m=user">我的抽奖</a></li>
      <li {if $current == 'gifts'} class="current" {/if}><a href="/?a=gifts&m=user">我的奖品</a></li> 
      <li {if $current == 'achieve'} class="current" {/if}><a href="/?a=achieve&m=user">抽奖成就</a></li> 
      <!--li {if $current == 'seeds'} class="current" {/if}><a href="/">种子索取</a></li--> 
      <li {if $current == 'userinfo'} class="current" {/if}><a href="/?a=seeds&m=user">个人信息</a></li> 
      <li {if $current == 'msglist'} class="current" {/if}><a href="/?a=msglist&m=home&c=admin">投诉反馈</a></li> 
    </ul>
  <hr />
  {/if}
  <!-- 店铺模块后台 -->
  {if $menu == "shopadmin"}
  <div class="menu-group">
    <ul>
      <li {if $current == 'home'} class="current" {/if}><a href="/?m=shopadmin"><i class="{if $current == 'home'}icon-white{/if} icon-home"></i>系统首页</a></li>
      <li {if $current == 'shopgamecfg'} class="current" {/if}><a href="/?a=gamecfg&m=shopadmin"><i class="{if $current == 'shopgamecfg'}icon-white{/if} icon-cog"></i>活动设置</a></li>
      <li {if $current == 'shopgift'} class="current" {/if}><a href="/?c=gifts&m=shopadmin"><i class="{if $current == 'shopgift'}icon-white{/if} icon-gift"></i>奖品设置</a></li>
      <li {if $current == 'waiguan'} class="current" {/if}><a href="/?a=bandcfg&m=shopadmin&c=frontcfg"><i class="{if $current == 'waiguan'}icon-white{/if} icon-camera"></i>外观配置</a></li>
      <!--li {if $current == 'waiguan'} class="current" {/if}><a href="/?a=gamewg&m=shopadmin&c=frontcfg"><i class="{if $current == 'waiguan'}icon-white{/if} icon-camera"></i>外观配置</a></li-->
      <li {if $current == 'shopgamegg'} class="current" {/if}><a href="/?a=gamegg&m=shopadmin"><i class="{if $current == 'shopgamegg'}icon-white{/if} icon-bullhorn"></i>公告设置</a></li>
	  <li {if $current == 'chajian'} class="current" {/if}><a href="/?&c=chajian&m=shopadmin"><i class="{if $current == 'chajian'}icon-white{/if}  icon-wrench"></i>插件管理</a></li>
      <hr />
	  <!-- <li {if $current == 'jifen'} class="current" {/if}><a href="/?c=jifen&m=shopadmin"><i class="{if $current == 'jifen'}icon-white{/if} icon-pencil"></i>积分配置</a></li>
	  <li {if $current == 'jifenuser'} class="current" {/if}><a href="/?c=jifen&a=user&m=shopadmin"><i class="{if $current == 'jifenuser'}icon-white{/if} icon-shopping-cart"></i>兑换记录</a></li>
	  <li {if $current == 'qiandao'} class="current" {/if}><a href="/?c=jifen&a=qiandao&m=shopadmin"><i class="{if $current == 'qiandao'}icon-white{/if} icon-calendar"></i>签到记录</a></li>
	  <li {if $current == 'jforders'} class="current" {/if}><a href="/?c=jifen&a=jforders&m=shopadmin"><i class="{if $current == 'jforders'}icon-white{/if} icon-tasks"></i>订单积分</a></li>
      <hr /> -->
      <li {if $current == 'shopwins'} class="current" {/if}><a href="/?c=wins&m=shopadmin"><i class="{if $current == 'shopwins'}icon-white{/if} icon-ok"></i>中奖管理</a></li>
      <li {if $current == 'yonghu'} class="current" {/if}><a href="/?a=users&c=wins&m=shopadmin"><i class="{if $current == 'yonghu'}icon-white{/if} icon-user"></i>抽奖用户</a></li>
      <li {if $current == 'kami'} class="current" {/if}><a href="/?a=index&c=kami&m=shopadmin"><i class="{if $current == 'kami'}icon-white{/if}  icon-tags"></i>卡密管理</a></li>
      <li {if $current == 'gamescore'} class="current" {/if}><a href="/?a=gamescore&m=shopadmin"><i class="{if $current == 'gamescore'}icon-white{/if} icon-list-alt"></i>游戏成绩</a></li>
      <!-- <li {if $current == 'ddfuwu'} class="current" {/if}><a href="/?m=Shopadmin&c=Wins&a=leadorder"><i class="{if $current == 'ddfuwu'}icon-white{/if} icon-shopping-cart"></i>订单服务</a></li> -->
	  <hr />
      <li {if $current == 'shoudong'} class="current" {/if}><a href="/?a=manual&c=wins&m=shopadmin"><i class="{if $current == 'shoudong'}icon-white{/if}  icon-briefcase"></i>手动抽奖</a></li>
      <li {if $current == 'dingdan'} class="current" {/if}><a href="/?a=order&c=wins&m=shopadmin"><i class="{if $current == 'dingdan'}icon-white{/if} icon-tasks"></i>订单管理</a></li>
      <li><a href="/?a=logout&m=shopadmin"><i class=" icon-off"></i>退出登录</a></li>
      {if $usernick=="zlp130"}
	  <li><a href="/?m=Shopadmin&c=Page&a=customs">订购列表</a></li>
	  <li><a href="/?m=Shopadmin&c=Page">页面管理</a></li>
	  <li><a href="/?m=Shopadmin&c=Wins&a=leadorder">订单服务</a></li>
	  <li><a href="/?m=Shopadmin&c=Page&a=task">执行任务</a></li>
	  <li><a href="/?m=Shopmodule&top_appkey=12676596&top_parameters=aWZyYW1lPTEmdHM9MTQxMDcwNjc3NDQ1NyZ2aXNpdG9yX3JvbGU9NQ%3D%3D&top_session=&module_width=950&envMode=product&shop_id={$sid}&_t_=&seller_nick=kekydream&top_sign=uAjxtt1Vq7MCgFPF3AHLHQ%3D%3D">前端测试</a></li>
      <li><a href="/?top_appkey=12676595&top_parameters=ZXhwaXJlc19pbj02NjEwOTgmaWZyYW1lPTEmcjFfZXhwaXJlc19pbj02NjEwOTgmcjJfZXhwaXJlc19pbj0yNTkyMDAmcmVfZXhwaXJlc19pbj02NjEwOTgmcmVmcmVzaF90b2tlbj02MTAxYzI3YjBlMzZjNzk0NmMxZGE3YjJjMWRmZGVmYTY3ZDFiZmM0MzcyNjFkZTI3MzkwNTU1JnRzPTE0MTI5MjIxMDEyMDYmdmlzaXRvcl9pZD0yNzM5MDU1NSZ2aXNpdG9yX25pY2s9a2VreWRyZWFtJncxX2V4cGlyZXNfaW49NjYxMDk4JncyX2V4cGlyZXNfaW49MTgwMA%3D%3D&top_session=6102727f136f5ab7ce49f06ac22e568567e1a91ebcc33b027390555&agreement=true&_tb_token_=kgkS4OxyrVkn&agreementsign=12676595-23548701-27390555-395CB32823F51D57EBC1E5AB919CAA90&top_sign=d%2F3jaxvgMLxUq8sb4Aq2mw%3D%3D">后端登录</a></li>
      {/if}
    </ul>
  </div>
  {/if}